import 'package:json_annotation/json_annotation.dart';

part 'trtc_auth_info_data.g.dart';


@JsonSerializable()
class TrtcAuthInfoData extends Object {

  @JsonKey(name: 'sdkAppId')
  int sdkAppId;

  @JsonKey(name: 'userId')
  String userId;

  @JsonKey(name: 'userSig')
  String userSig;

  TrtcAuthInfoData(this.sdkAppId,this.userId,this.userSig,);

  factory TrtcAuthInfoData.fromJson(Map<String, dynamic> srcJson) => _$TrtcAuthInfoDataFromJson(srcJson);

  Map<String, dynamic> toJson() => _$TrtcAuthInfoDataToJson(this);

}